<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>과목생성</title>
</head>
<body>

<form name="form" method="post">
 과목코드<INPUT TYPE="text" NAME="gwamokcode"><br>
 과목명<INPUT TYPE="text" NAME="gwamokname"><br>
 전공여부<INPUT TYPE="text" NAME="jungongconfirm"><br>
<!--  <button onclick="Go()">확인</button> -->
 <form:input path="code"/>
<input type="button" value="저장" onclick="" /> 
<input type="button" value="삭제" onclick="" /> 
<input type="button" value="조회" onclick="" />
<input type="button" value="종료" onclick="" /><br>
 
 
 <TEXTAREA NAME="input" ROWS="20" COLS="30" value=""></TEXTAREA>
 </form>

</body>
</html>
<!--  <SCRIPT LANGUAGE="JavaScript">
 <!--
function Go(){

 var output = "";
  var inputInt = document.form.gwamokname.value;
  for(var i=1;i<10;i++){
   output = output + inputInt +" * "+i+ " = " + (inputInt*i) + "\n";
  }
 document.form.input.value = output;
 }
 
 //-->
 